﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的首页 - 会员中心  - {$sitename}</title>
{include file="center_include"/}
</head>
<body>
{include file="center_header"/}
<!-- // i-header end -->
<div id="content" class="layout">
 <div class="ui-box ui-qire fn-clear" id="i-box">
 <div id="i-bar">
 {include file="center_nav"/}     
 {include file="center_fk"/}
 </div>
    <!-- // i-bar end -->
    <p class="tbmov-notice" id="i-notice"><a class="close" href="javascript:v;" data="25">关闭</a>{notempty name="userinfo.connectid"}你还没有绑定QQ帐号，<a href="{:zanpian_user_url('user/center/qq')}">点这里绑定</a>{else /}{$userconfig['user_notice']}{/notempty}</p>
<!-- // i-notice end -->
<div id="i-indexcnt" class="fn-clear">
  <div id="i-news">
    <div class="i-tab-nav-box">
      <ul class="i-tab-nav fn-clear">
        <li class="current"><a href="javascript:;" data="{:zanpian_user_url('user/center/getall')}" hidefocus>全部动态</a></li>
 <!--       <li class="line"></li>
        <li><a href="javascript:;"  data="?s=user-center-dynamic-my-2" hidefocus>关注的人</a></li>
        <li class="line"></li>
        <li><a href="javascript:;" data="?s=user-center-dynamic-my-1" hidefocus>我的动态</a></li>-->
      </ul>
    </div>
    <div class="ui-cnt" id="pbl">
      <ul class="user-txt-list" id="xlist">
      <li class='kong'><img src="{$apicss}user/new/images/loading.gif"/>正在努力为您加载中... </li>
      </ul>
     <div class="loading pages"><ul class="pagination" id="xpage"></ul></div>
    </div>
  </div>
  <!-- // i-news end -->
</div>
<!-- // i-indexcnt end -->
</div>
</div>
<!-- // i-box end -->
</div>
<!-- // content end -->
<script type="text/javascript">
			function pagegoo(url){
				$.ajax({ url: url,  success: function(data){
					if('' != data.ajaxtxt )
				   {
					$("#xlist").html(data.ajaxtxt);
					$("#xpage").html(data.pages);
					$("#xpage a").click(function (e){
						pagegoo(e.target);
						return false;}
					);


					// his-list li
					$(".his-list li").hover(function(){
						$(this).find(".ui-del").show();
						$(this).addClass("hover");
					},function(){
						$(this).find(".ui-del").hide();
						$(this).removeClass("hover");
					});	
				  }
				  else{
					   	$("#xlist").html("<li class='kong'>您当前没有任何动态!</span></li>");

				}},dataType:'json'});
				return false;				
			}

			pagegoo("{:zanpian_user_url('user/center/getall')}");	
	$("#i-notice .close").click(function(){
		$(this).parent("#i-notice").fadeOut(400, 0, function(){
			$(this).parent("#i-notice").slideUp(400);
			var date = new Date();  
			date.setTime(date.getTime()+600*10000000);  
			document.cookie="acclasttime="+$("#i-notice .close").attr('data')+"; expires=" + date.toGMTString()+";path=/;domain="; 
		});
		return false;
	});	
		</script>
{include file="footer"/}
</body>
</html>